<template>
  <el-dialog :visible.sync="dialog" :title="title" width="80%" append-to-body> 
    <div v-html="content"></div>
    <span slot="footer" class="dialog-footer">
      <el-button type="primary" @click="dialog = false">关闭</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  name: 'ContentDialog',
  data () {
    return {
      dialog: false,
      title: '查看内容',
      content: '暂无内容'
    }
  },
  methods: {},
  mounted () {}
}
</script>

<style lang="less">
</style>
